﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BTKERP.DAL;
using BTKERP.Model;

namespace BTKERP.BLL.UserMgmt
{
    public class UserBLL
    {
         private static readonly UserDAL dal = DataContextHelper.GetDbContect<UserDAL>();

         public static User UserLogin(string username, string password)
         {
             return dal.UserLogin(username, password);
         }

         public static List<User> GetALlUsers()
         {
             return dal.GetAll();
         }
    }
}
